set Use Pullup
open fun setUsePullup(value: Boolean): ModuleConfigProtos.ModuleConfig.DetectionSensorConfig.Builder
Whether or not use INPUT_PULLUP mode for GPIO pin
Only applicable if the board uses pull-up resistors on the pin
Content copied to clipboard
bool use_pullup = 8;
Return
This builder for chaining.
Parameters
value
The usePullup to set.